package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document
public class Peachblossom implements Serializable {
    private ObjectId id;//主键自增id
    private Long userId; //发布人Id
    private String soundUrl; //语音储存地址
    private Long date;//时间戳
    private Integer pickkup; //1是被拾取过,0为未被拾取

}
